package com.example.springstack.springboot.mongo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.TimeZone;

/**
 * @author qiangfanghao
 *
 * 实现功能点:
 * 1.springboot 集成 mongodb
 * 2.mongodb 配置不同的 mongodbTemplate
 * 3.项目初始化mongodb sql语句
 *
 * exclude = {MongoAutoConfiguration.class, MongoDataAutoConfiguration.class} 关闭spring mongo自动配置
 *
 * @date
 */
@SpringBootApplication
public class SpringBootDemoMongodbApplication {

    public static void main(String[] args) {
        TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai"));
        SpringApplication.run(SpringBootDemoMongodbApplication.class,args);
    }

}
